package com.CmJava.crowd.service;

import com.CmJava.crowd.entity.ResultEntity;
import com.CmJava.crowd.entity.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserService {

    PageInfo<User> userList(int cp, int pageNum, String keyWord);

    ResultEntity userDetail(String primaryKey);

    ResultEntity getUserGoods(String primaryKey);

    ResultEntity getTheseGoodRedisInfo(List<String> goodId);

    ResultEntity deleteUser(String primaryKey);

    ResultEntity updateThisUser(User user);

    ResultEntity examineThisUser(User user);
}
